package com.dingding.facde.activity.dto.commonactivity;

import java.io.Serializable;
import java.util.Arrays;
import java.util.Date;

/**
 * @Description:跳转到注册主页的响应bean
 * @author fengshuonan
 * @date 2016年9月21日 下午8:06:31
 * @version 叮叮搭车
 * @since 2.4
 */
@SuppressWarnings("serial")
public class ResStartToRegIndex implements Serializable{

	private Integer userType; 			//用户类型 ：  1：新用户 （没有openid记录）   2：老用户（有openId记录）  3：老用户（有openId记录，并且发起过活动）
	
	private String bannerImage;			//活动详情顶端图片
	private String title;				//活动页面的标题
	private Date startTime;				//开始时间
	private Date endTime;				//活动结束时间
	private String rule;				//活动规则
	private String[] shareType;			//分享类型（1:微信朋友圈 2：微信好友）
	
	private boolean isInviteEnough;		//是否邀请达标
	private Integer enoughNum;			//达标人数
	
	/**
	 * 如果是老用户并且发起过活动的显示
	 */
	private String giftName; 			//礼品的名称
	private Integer sort;				//当前邀请人数排名
	private Integer inviteNum;			//邀请人数
	
	private String shareKey;			//发起活动的唯一标识
	private String userId;				//用户id
	
	
	public Integer getUserType() {
		return userType;
	}
	public void setUserType(Integer userType) {
		this.userType = userType;
	}
	public String getBannerImage() {
		return bannerImage;
	}
	public void setBannerImage(String bannerImage) {
		this.bannerImage = bannerImage;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public String getRule() {
		return rule;
	}
	public void setRule(String rule) {
		this.rule = rule;
	}
	public String[] getShareType() {
		return shareType;
	}
	public void setShareType(String[] shareType) {
		this.shareType = shareType;
	}
	public String getGiftName() {
		return giftName;
	}
	public void setGiftName(String giftName) {
		this.giftName = giftName;
	}
	public Integer getSort() {
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	public Integer getInviteNum() {
		return inviteNum;
	}
	public void setInviteNum(Integer inviteNum) {
		this.inviteNum = inviteNum;
	}
	public boolean isInviteEnough() {
		return isInviteEnough;
	}
	public void setInviteEnough(boolean isInviteEnough) {
		this.isInviteEnough = isInviteEnough;
	}
	public Integer getEnoughNum() {
		return enoughNum;
	}
	public void setEnoughNum(Integer enoughNum) {
		this.enoughNum = enoughNum;
	}
	public String getShareKey() {
		return shareKey;
	}
	public void setShareKey(String shareKey) {
		this.shareKey = shareKey;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	@Override
	public String toString() {
		return "ResStartToRegIndex [userType=" + userType + ", bannerImage=" + bannerImage + ", title=" + title
				+ ", startTime=" + startTime + ", endTime=" + endTime + ", rule=" + rule + ", shareType="
				+ Arrays.toString(shareType) + ", isInviteEnough=" + isInviteEnough + ", enoughNum=" + enoughNum
				+ ", giftName=" + giftName + ", sort=" + sort + ", inviteNum=" + inviteNum + ", shareKey=" + shareKey
				+ ", userId=" + userId + "]";
	}
}
